﻿using DevExpress.XtraEditors;
using DXApplicationTangche.UC.报表.service;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.报表
{
    public partial class Form抖音相关报表 : DevExpress.XtraEditors.XtraForm
    {
        public Form抖音相关报表()
        {
            InitializeComponent();
            this.dataRefresh();
        }

        private void dataRefresh()
        {
            this.gridControl备货.DataSource = 抖音报表service.get备货();
            this.gridView备货.RefreshData();

            this.gridControl已发货未到账.DataSource = 抖音报表service.get已发货未到账();
            this.gridView已发货未到账.RefreshData();

            this.gridControl每日发货明细.DataSource = 抖音报表service.get每日发货明细();
            this.gridView每日发货明细.RefreshData();

            this.gridControl每日收款到账.DataSource = 抖音报表service.get每日收款到账();
            this.gridView每日收款到账.RefreshData();

            this.gridControl每日未发货退货.DataSource = 抖音报表service.get每日未发货退货();
            this.gridView每日未发货退货.RefreshData();

            this.gridControl每日直播间成交明细.DataSource = 抖音报表service.get每日直播间成交明细();
            this.gridView每日直播间成交明细.RefreshData();

            this.gridControl每日销售全部订单.DataSource = 抖音报表service.get每日销售全部订单();
            this.gridView每日销售全部订单.RefreshData();
        }
    }
}